package com.work.example.demo5.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.work.example.demo5.Mapper.PressMapper;
import com.work.example.demo5.domain.PressEntity;
import com.work.example.demo5.service.PressService;
import org.springframework.stereotype.Service;

@Service
public class PressServiceImpl extends ServiceImpl<PressMapper, PressEntity> implements PressService {
    @Override
    public int getpressId(String name) {
        return baseMapper.getpressId(name);
    }
}
